//
//  FXCNetworking.h
//  XinLangFeiBo
//
//  Created by dllo on 16/3/11.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^successBlock)(id responseObject);
typedef void(^failureBlock)(NSError *error);
@interface FXCNetworking : NSObject


+ (void)getWithURL:(NSString *)url parameter:(NSDictionary *)parameter success:(successBlock)success failure:(failureBlock)failure;
+ (void)postWithURL:(NSString *)url parameter:(NSDictionary *)parameter success:(successBlock)success failure:(failureBlock)failure;
@end
